package vf2.so;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.net.MalformedURLException;
import java.rmi.NotBoundException;
import java.rmi.server.ServerNotActiveException;

public interface VF2_SO_IServidorRMI extends Remote {
	
	public boolean conectarCliente(String login) throws RemoteException, NotBoundException, MalformedURLException;
	
	//VF2_SO_BFTServidor
	public void conectarJogador( String usuario ) throws RemoteException, ServerNotActiveException;		
	public void desconectarJogador( String usuario ) throws RemoteException;

	//VF2_SO_Turno
	public void moverPersonagem( int posicao_x, int posicao_y ) throws RemoteException;
	public void atacarPosicao( int posicao_x, int posicao_y )throws RemoteException;

}
